package model.dtos;

import java.util.Date;

public class Game
{	
	String code;
	Date date;
	Team homeClub;
	Team visitor;
	Umpire principal;
	Player rbisHomeClubPlayer;
	Player rbisVisitorPlayer;
	Player hrsHomeClubPlayer;
	Player hrsVisitorPlayer;
	int inningsPlayed;
	int rbisHomeClub;
	int rbisVisitor;
	int hrs;
	boolean extraInning;
	
	public Game()
	{
		this.rbisHomeClubPlayer = null;
		this.rbisVisitorPlayer = null;
		this.hrsHomeClubPlayer = null;
		this.hrsVisitorPlayer = null;
	}
	
	public Game(String code, Date date, Team homeClub, Team visitor,
			Umpire principal, int inningsPlayed, int rbisHomeClub, int rbisVisitor,
			boolean extraInning)
	{
		super();
		this.code = code;
		this.date = date;
		this.homeClub = homeClub;
		this.visitor = visitor;
		this.principal = principal;
		this.rbisHomeClubPlayer = null;
		this.rbisVisitorPlayer = null;
		this.hrsHomeClubPlayer = null;
		this.hrsVisitorPlayer = null;
		this.inningsPlayed = inningsPlayed;
		this.rbisHomeClub = rbisHomeClub;
		this.rbisVisitor = rbisVisitor;
		this.extraInning = extraInning;
	}	
	
	public Game(String code, Date date, Team homeClub, Team visitor,
			Umpire principal, Player rbisHomeClubPlayer,
			Player rbisVisitorPlayer, Player hrsHomeClubPlayer,
			Player hrsVisitorPlayer, int inningsPlayed, int rbisHomeClub,
			int rbisVisitor, int hrs, boolean extraInning)
	{
		super();
		this.code = code;
		this.date = date;
		this.homeClub = homeClub;
		this.visitor = visitor;
		this.principal = principal;
		this.rbisHomeClubPlayer = rbisHomeClubPlayer;
		this.rbisVisitorPlayer = rbisVisitorPlayer;
		this.hrsHomeClubPlayer = hrsHomeClubPlayer;
		this.hrsVisitorPlayer = hrsVisitorPlayer;
		this.inningsPlayed = inningsPlayed;
		this.rbisHomeClub = rbisHomeClub;
		this.rbisVisitor = rbisVisitor;
		this.extraInning = extraInning;
	}

	public String getCode()
	{
		return code;
	}

	public void setCode(String code)
	{
		this.code = code;
	}

	public Date getDate()
	{
		return date;
	}

	public void setDate(Date date)
	{
		this.date = date;
	}

	public Team getHomeClub()
	{
		return homeClub;
	}

	public void setHomeClub(Team homeClub)
	{
		this.homeClub = homeClub;
	}

	public Team getVisitor()
	{
		return visitor;
	}

	public void setVisitor(Team visitor)
	{
		this.visitor = visitor;
	}

	public Umpire getPrincipal()
	{
		return principal;
	}

	public void setPrincipal(Umpire principal)
	{
		this.principal = principal;
	}

	public Player getRbisHomeClubPlayer()
	{
		return rbisHomeClubPlayer;
	}

	public void setRbisHomeClubPlayer(Player rbisHomeClubPlayer)
	{
		this.rbisHomeClubPlayer = rbisHomeClubPlayer;
	}

	public Player getRbisVisitorPlayer()
	{
		return rbisVisitorPlayer;
	}

	public void setRbisVisitorPlayer(Player rbisVisitorPlayer)
	{
		this.rbisVisitorPlayer = rbisVisitorPlayer;
	}

	public Player getHrsHomeClubPlayer()
	{
		return hrsHomeClubPlayer;
	}

	public void setHrsHomeClubPlayer(Player hrsHomeClubPlayer)
	{
		this.hrsHomeClubPlayer = hrsHomeClubPlayer;
	}

	public Player getHrsVisitorPlayer()
	{
		return hrsVisitorPlayer;
	}

	public void setHrsVisitorPlayer(Player hrsVisitorPlayer)
	{
		this.hrsVisitorPlayer = hrsVisitorPlayer;
	}

	public int getInningsPlayed()
	{
		return inningsPlayed;
	}

	public void setInningsPlayed(int inningsPlayed)
	{
		this.inningsPlayed = inningsPlayed;
	}

	public int getRbisHomeClub()
	{
		return rbisHomeClub;
	}

	public void setRbisHomeClub(int rbisHomeClub)
	{
		this.rbisHomeClub = rbisHomeClub;
	}

	public int getRbisVisitor()
	{
		return rbisVisitor;
	}

	public void setRbisVisitor(int rbisVisitor)
	{
		this.rbisVisitor = rbisVisitor;
	}
		
	public int getHrs()
	{
		return hrs;
	}

	public void setHrs(int hrs)
	{
		this.hrs = hrs;
	}

	public boolean isExtraInning()
	{
		return extraInning;
	}

	public void setExtraInning(boolean extraInning)
	{
		this.extraInning = extraInning;
	}
}
